package com.cqut.dto;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginDTO {
	@NotEmpty(message="{login.username.NotEmpty}")
	@Size(max=50)
	private String userno;
	
	@NotEmpty(message="{login.username.NotEmpty}")
	@Size(max=50)
	private String password;

	public String getUserno() {
		return userno;
	}

	public void setUserno(String userno) {
		this.userno = userno;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
